home *** CD-ROM | disk | FTP | other *** search
/ ftp.trace.wisc.edu / ftp.trace.wisc.edu.zip / ftp.trace.wisc.edu / keyclicks1.04.sit.hqx / KeyClicks 1.0.4 / KeyClicks.rsrc / TEXT_5000.txt < prev    next >
Text File  |  1995-03-14  |  8KB  |  78 lines

  1. Alessandro Levi Montalcini
  2. C.so Re Umberto 10
  3. 10121 Torino
  4. Italy
  5. e-mail: LMontalcini@pmn.it
  6. anonymous ftp: //ftp.alpcom.it/software/mac/LMontalcini
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. KeyClicks 1.0.4 documentation - March 1995
  14.  
  15. ΓÇó Postcardware!
  16. Γùè  Do you like this little hack? Send a nice postcard to:
  17.  
  18.      Valentina Pavia
  19.      Via Mancini 19
  20.      10131 Torino
  21.      Italy
  22.  
  23. (donΓÇÖt forget to put your name and address on it, so I can add you to my registered users database).
  24.  
  25. ΓÇó Introduction
  26. Γùè  KeyClicks is a control panel that plays some very short sounds when you press a key. I made it because many people I know have trouble with the PowerBook and Duo keyboards (they have little feedback, so you can't tell whether a key was pressed or not). The key-clicking utilities I already had wouldn't let the hard disk spin down because they didn't keep everything in memory.
  27. Γùè  KeyClicks is very small: it uses about 2K of system memory if you only want the simple click and about 12K if you want different sounds for different keys. It is also very easy to use, and it only costs you a postcard and a stamp.
  28. Γùè  Since the key clicks may get on your nerves after a while, there's a user-defined hot key to turn them on or off on the fly at any time. Also, you may start your Mac with KeyClicks off (and turn it on later with the hot key) by selecting the "Off" button in the control panel; KeyClicks will still be loaded at startup, but it will be disabled.
  29. Γùè  KeyClicks seems to be very slow on some of the new Mac models; the sound playing routines take a longer time than usual to start and stop plating on these machines. My Power Mac 6100, for example, is much slower than the Duo 230. Sorry, there's not much I can do about itΓǪ
  30.  
  31. ΓÇó Installation
  32. Γùè  Move the KeyClicks control panel to your Control Panels folder (inside the System folder) and restart your Macintosh. Use the control panel to set your preferences as follows:
  33. - [On/Off]: Enable or disable the key clicks; if you select the "off" button and restart your Mac, the KeyClicks routines will still be loaded, but they will be disabled - you may enable them at any time with the hot key. This is useful if you do need the clicks at times, but don't want them to be active at startup. Remove KeyClicks from the system folder if you want to disable it completely.
  34. - [On/off hot key]: Click on this field to choose your hot key. It will let you turn the clicks on and off on the fly, without going to the control panel.
  35. - [Play on menu-equivalent cmd keys]: If this option is enabled, KeyClicks will play a sound when you issue a menu command from the keyboard.
  36. - [Play on auto-repeat keystrokes]: If this option is enabled, KeyClicks will play its sounds repeatedly when you keep a key pressed. If it's off, only the first character typed will play a sound.
  37. - [Use less memory (only one sound)]: This option tells KeyClicks to play the same sound for all keys; if it is enabled, KeyClicks will only load one sound (the basic click) at next startup and will use very little memory. You may also use this option if having different sounds played while you type gets you confused or distracted.
  38. - [Show startup icon]: Show KeyClick's icon at startup.
  39.  
  40. ΓÇó Changing the sounds
  41. Γùè  EXPERT USERS: if you want to change the sounds used by KeyClicks, you can do so by using ResEdit or any other resource editor. All sounds are played synchronously (the machine hangs until the sound is over), so you don't want to use long sounds. The sound resources should have their System and Locked bits set and all other bits clear, and they should be numbered as follows:
  42.  
  43.   - 'snd ' ID=128  ->  basic sound (also played when another sound can't be found);
  44.   - 'snd ' ID=129  ->  caps sound (played on any key when caps lock or shift is down);
  45.   - 'snd ' ID=130  ->  spacebar sound (played on spacebar);
  46.   - 'snd ' ID=131  ->  delete sound (played on delete, forward delete, esc and clear);
  47.   - 'snd ' ID=132  ->  return sound (played on return and enter);
  48.   - 'snd ' ID=133  ->  arrow sound (played on tab and the four arrow keys);
  49.   - 'snd ' ID=134  ->  command sound (played on any key when command is down).
  50.  
  51. Γùè  PLEASE DO NOT DISTRIBUTE ALTERED VERSIONS OF KEYCLICKS. If you want to give away your own sounds for use with KeyClicks, use a separate resource file and pass it along with the original KeyClicks files (i.e. the control panel and this document).
  52.  
  53. ΓÇó Wake-up sound
  54. Γùè  EXPERT USERS: a friend of mine complained his Duo wouldn't play the first key click after a few seconds of silence. I tested KeyClicks myself on a Duo 230 and it worked just fine. I believe some other control panel was causing the problem, but I added a quick hack to fix it in case you really need to do so. KeyClicks now looks for a 'snd ' resource with ID=1000 at startup; if it finds one, then it plays it before any sound that comes after a long silence. The length of the silence is defined by the resource name, which has to be the number of seconds to wait before playing the wake-up sound. Here's an example: 'snd ' ID=1000 name="10" would be played before any other sound if more than 10 seconds had passed since the last key click.
  55. Γùè  KeyClicks will have no 'snd ' ID=1000 resource when you get it, so you'll have to add one yourself if you want to enable the wake-up sound. The best sound to use is one that can't be heard (like a short silence), so you just get the normal key click sound. Or you may want to paste in a nice long "Yawn" with a long wake-up pause (i.e. a resource name like "600", wich means 600 seconds or 10 minutes) and have your mac yawn when you type the first key after a coffee break.
  56.  
  57. ΓÇó Version history
  58. Γùè  1.0.4 - Added pictures and a contents menu to the online documentation.
  59. Γùè  1.0.3 - Fixed a bug in the control panel and cleaned up all the code.
  60. Γùè  1.02 - Recompiled with latest version of the compiler and updated documentation.
  61. Γùè  1.01 - Added wake-up sound hidden feature.
  62. Γùè  1.0 - First release.
  63.  
  64. ΓÇó Acknowledgements
  65. Γùè  Many thanks to Domizio Demichelis for the idea and suggestions and to Fabrizio Oddone for his beta testing.
  66.  
  67. ΓÇó Distribution
  68. Γùè  KeyClicks is ┬⌐1994-95 Alessandro Levi Montalcini. It can be freely distributed as long as it is not modified and thereΓÇÖs no charge for it, but it may not be included in any commercial package without my consent.
  69. Γùè  You may find the latest version of all my shareware programs by anonymous ftp to ftp.alpcom.it, inside the /software/mac/LMontalcini directory. The complete ShareDisk package, which contains all my stuff and can be registered at a very low price, is also available there.
  70. Γùè  All online services and bulletin boards may make it available to their users at no charge other than the normal connection fees.
  71. Γùè  All non-profit user groups may distribute it at no charge.
  72. Γùè  All magazines may publish it on floppy disk without asking me first, as long as I get a copy of the issue containing my software.
  73. Γùè  All CD-ROM shareware collections and CD-ROM magazines may include it without my prior consent, as long as I get either a copy of the CD-ROM or an offer to buy the CD-ROM at a discounted price.
  74. Γùè  All redistribution companies such as Educorp may distribute it, as long as I get a copy of each media containing my software and a catalog of the companyΓÇÖs offerings (where applicable).
  75.  
  76. ΓÇó Disclaimer
  77. Γùè  KeyClicks shouldnΓÇÖt cause any damage, but youΓÇÖre using it at your own risk. As an independent software developer, I can make no warranties whatsoever on it.
  78.